<template>
  <div>
    <h4>{{ question.title }}</h4>
    <component :is="question.type" :question="question" />
  </div>
</template>

<script>
export default {
  props: {
    question: {
      type: Object,
      required: true,
    },
  },
};
</script>
